package com.second.service;

import com.second.model.dto.reply.FReplyDto;
import com.second.model.pojo.FComment;
import com.second.model.pojo.FReply;

import javax.persistence.criteria.CriteriaBuilder;
import java.util.List;

/**
 * 本接口用来演示:
 *
 * @author: MuTing
 * @createTime: 2022-04-17 20:37
 **/
public interface IFReplyService {
    //根据CommentId查询回复
    List<FReplyDto> findByCommentIdAndReplyId(Integer commentId,Integer replyId);

    //增加回复
    void addReply(FReply fReply);

    //修改回复
    void updateReply(FReply fReply);

    //根据ReplyId删除回复
    void delByReplyId(Integer id);
}
